package Worker;

import Module.ResultUnit;

/**
 * Project:    metsysdirg
 * File Name: WorkerDriver.java
 * Change History:
 *     ********************************
 *     1.0     5/14/2011    Hengfeng Li
 *         Create the skeleton file
 *     ********************************
 *
 */

public class TaskResultUnit implements ResultUnit {
    private byte[] outputFile;
    private float elapsedTime;
    private float totalCost;

    public TaskResultUnit(byte[] outputFile){
        this.outputFile = outputFile;
        this.elapsedTime = 0;
        this.totalCost = 0;
    }

    public byte[] getOutputFile() {
        return outputFile;
    }

	public float getElapsedTime() {
		return elapsedTime;
	}

	public float getTotalCost() {
		return totalCost;
	}

	public void setElapsedTime(float elapsedTime) {
		this.elapsedTime = elapsedTime;
	}

	public void setTotalCost(float totalCost) {
		this.totalCost = totalCost;
	}
    
}
